import Layout from "@/layout";

export default {
  path: '/user',
  component: Layout,
  name: 'User',
  redirect: 'noRedirect',
  meta: {
    title: '用户管理',
    icon: 'user'
  },
  children: [
    {
      path: 'student',
      name: 'Student',
      component: () => import('@/views/user/student'),
      meta: {
        title: '学生管理',
        icon: 'dashboard'
      },
    },
    {
      path: 'teacher',
      name: 'Teacher',
      component: () => import('@/views/user/teacher'),
      meta: {
        title: '老师管理',
        icon: 'dashboard'
      },
    }
  ]
}
